package com.nny.demo141;

public class Car extends Vehicle{
    public Car(String make, String model) {
        super(make, model);
    }

    public void drive() {
        System.out.println("Driving a " + make+ " " + model + " car.");
    }
}
